package datastructure.array;

/**
 * @author XY
 * @version 1.0
 * @date 2021/8/30 15:57
 * @Description
 */
public class Main {
    public static void main(String[] args) {
        Array<Integer> arr= new Array<>(20);
        for (int i = 0; i < 10; i++) {
            arr.addLast(i);
        }
        arr.add1(1,22);
        System.out.println(arr);
    }
}
